package logmanager.proxy;

import java.rmi.Remote;
import java.rmi.RemoteException;

//public interface IDiscoveryLogManager extends Remote{
public interface ILogManager extends Remote{
	
	public int addLogJobByName(String fileName) throws RemoteException;	
	
	public void removeLog(int index) throws RemoteException;	
	public int removeLogByName(String fileName) throws RemoteException;	
	
	public String[] getDataHeader(int index)  throws RemoteException;	
	public String[] getDataHeaderByName(String fileName)  throws RemoteException;	
	
	public String[][] getNextData(int index) throws RemoteException;
	public String[][] getNextDataByName(String fileName) throws RemoteException;	
	public String[][] getNextDataBySearch(int index, String field, String value) throws RemoteException;	
	public String[][] getNextDataByNameBySearch(String fileName, String field, String value) throws RemoteException;
	
	public String[][] getPrevData(int index) throws RemoteException;	
	public String[][] getPrevDataByName(String fileName) throws RemoteException;	
	public String[][] getPrevDataBySearch(int index, String field, String value) throws RemoteException;	
	public String[][] getPrevDataByNameBySearch(String fileName, String field, String value) throws RemoteException;
	
	//public int[] getSelectedsData(int index, String field, String value)  throws RemoteException;
	//public int[] getSelectedsDataByName(String fileName, String field, String value)  throws RemoteException;
	
	public String[][] getData(int index) throws RemoteException;
	public String[][] getDataByName(String fileName) throws RemoteException;	
	
	public int setFilter(int index, String field, String value) throws RemoteException;	
	public int setFilterByName(String fileName, String field, String value) throws RemoteException;	
	
	public String getFilterField(int index) throws RemoteException;	
	public String getFilterFieldByName(String fileName) throws RemoteException;
	public String getFilterValue(int index) throws RemoteException;
	public String getFilterValueByName(String fileName) throws RemoteException;
	
	public int getSize() throws RemoteException;	
	
	public int setReadSize(int index, int readSize)  throws RemoteException;	
	public int setReadSizeByName(String fileName, int readSize)  throws RemoteException;	
	public int getReadSize(int index)  throws RemoteException;	
	public int getReadSizeByName(String fileName)  throws RemoteException;	
	
	public int getPosition(int index)  throws RemoteException;	
	public int getPositionByName(String fileName)  throws RemoteException;
	
	public int getFirstsLineSize(int index)  throws RemoteException;
	public int getFirstsLineSizeByName(String fileName)  throws RemoteException;
	
	public int getLogSizeByName(String fileName)  throws RemoteException;	
	public int getLogSize(int index)  throws RemoteException;	
	
	public int getLineReadCount(int index) throws RemoteException;	
	public int getLineReadCountByName(String fileName) throws RemoteException;
	
	public String getMaxDateByName(String fileName)  throws RemoteException;	
	public String getMaxDate(int index)  throws RemoteException;	
	
	public String getMinDateByName(String fileName)  throws RemoteException;	
	public String getMinDate(int index)  throws RemoteException;
	
	public String getResourcesPath()  throws RemoteException;
	public void setResourcesPath(String path)  throws RemoteException;
	
	public String[] getFiles() throws RemoteException;
}
